package com.lizhenhua.orderadd.feign;

import com.lizhenhua.fmmall.entity.ShoppingCartVo;
import com.lizhenhua.orderadd.follBack.QueryFollBack;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@org.springframework.cloud.openfeign.FeignClient(value = "stock-query",fallback = QueryFollBack.class)
public interface FeignClient {
    @GetMapping("/stock/query")
    List<ShoppingCartVo> queryStock(@RequestParam("cids") String cids);


}
